package com.wang.weibo.constants;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;


/**
 * @Author: wang
 * @Date: 2020/1/28 13:57
 * @Description:
 */
public class Constants {

    /**
     * hbase的配置信息
     */
    public static final Configuration CONFIGURATION = HBaseConfiguration.create();
    /**
     * 命名空间
     */
    public static final String NAMESPACE = "weibo";
    /**
     * 微博内容表
     */
    public static final String CONTENT_TABLE = "webo:content";
    public static final String CONTENT_TABLE_CF = "info";
    public static final int CONTENT_TABLE_VERSIONS = 1;
    /**
     * 用户关系表
     */
    public static final String RELATION_TABLE = "weibo:relation";
    public static final String RELATION_TABLE_CF1 = "attentions";
    public static final String RELATION_TABLE_CF2 = "fans";
    public static final int RELATION_TABLE_VERSIONS = 1;
    /**
     * 收件箱表
     */
    public static final String INBOX_TABLE = "weibo:inbox";
    public static final String INBOX_TABLE_CF = "info";
    public static final int INBOX_TABLE_VERSIONS = 2;

}
